package cn.com.aiton.common.model.relation;

import cn.com.aiton.common.model.BaseDomain;

public class SignalAndFourSignalDomain extends BaseDomain {
    //信号节点ID
    private Long nodeId;
    //;北方向信号机ID
    private Long northNodeId;
    //东方向信号机ID
    private Long eastNodeId;
    //南方向信号机ID
    private Long southNodeId;
    //西方向信号机ID
    private Long westNodeId;
    //其它方向的信号机ID
    private Long otherNodeId;

    public SignalAndFourSignalDomain(Long nodeId, Long northNodeId, Long eastNodeId, Long southNodeId, Long westNodeId, Long otherNodeId) {
        this.nodeId = nodeId;
        this.northNodeId = northNodeId;
        this.eastNodeId = eastNodeId;
        this.southNodeId = southNodeId;
        this.westNodeId = westNodeId;
        this.otherNodeId = otherNodeId;
    }

    public Long getNodeId() {
        return nodeId;
    }

    @Override
    public String toString() {
        return "SignalAndFourSignalEntity{" +
                "nodeId=" + nodeId +
                ", northNodeId=" + northNodeId +
                ", eastNodeId=" + eastNodeId +
                ", southNodeId=" + southNodeId +
                ", westNodeId=" + westNodeId +
                ", otherNodeId=" + otherNodeId +
                '}';
    }

    public void setNodeId(Long nodeId) {
        this.nodeId = nodeId;
    }

    public Long getNorthNodeId() {
        return northNodeId;
    }

    public void setNorthNodeId(Long northNodeId) {
        this.northNodeId = northNodeId;
    }

    public Long getEastNodeId() {
        return eastNodeId;
    }

    public void setEastNodeId(Long eastNodeId) {
        this.eastNodeId = eastNodeId;
    }

    public Long getSouthNodeId() {
        return southNodeId;
    }

    public void setSouthNodeId(Long southNodeId) {
        this.southNodeId = southNodeId;
    }

    public Long getWestNodeId() {
        return westNodeId;
    }

    public void setWestNodeId(Long westNodeId) {
        this.westNodeId = westNodeId;
    }

    public Long getOtherNodeId() {
        return otherNodeId;
    }

    public void setOtherNodeId(Long otherNodeId) {
        this.otherNodeId = otherNodeId;
    }

    public SignalAndFourSignalDomain() {
    }
}
